Gravity X
10 Liners Contest 2016
by Jason Kendall
(c) Kendallsoft 2016

NOTE: "Gravity X" works perfectly on a real Atari with a reliable joystick but does NOT work well under emulation - there is some delay / timing isssue in reading the keyboard for firing...

Your mission is to reach the top of the screen by dropping the moving blocks onto the pile. You start with 3 blocks, if any miss they are eliminated. If you reach the top of the screen you will go on to the next level which is faster. 

The game is written in turbo basic. You will need to get used to the timing of the firing, and hold the button in, *NOT* just press it. Be careful not to hold fire in too long, especially when you are near the top of the pile.

Gravity X was based on my abbuc 2015 game Gravity, but it was re-coded from scratch. It does not have any bonus screens but does give you an extra block on each new level if you have lost any. 

I've reached about 4 screens so far!

Line 1 Setup and Titles
Line 2 High Score, Game Over, Wait for Start
Line 3 New go: Setup screen
Line 4 New go: Colour and blocks
Line 5 Main Game Loop: draw blocks, Check fire
Line 6 Drop routine: On target
Line 7 Missed
Line 8 Drop blocks
Line 9 Check and reverse blocks direction
Line 10 Check and reverse blocks direction. Delay based on level and height. Loop to 5 if alive or 2 if not!

Have fun
trbb